<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<script language="javaScript" type="text/javascript"
	src="<c:url value='/cal/calendar.js'/>">
	
</script>

<link href="<c:url value='/cal/calendar.css'/>" rel="stylesheet"
	type="text/css">
<link href="<c:url value='/Styles/style.css'/>" rel="stylesheet"
	type="text/css" />

</head>
<body>
	<div class="page">
		<div id="header-wrapper">
			<div id="header">
				<div id="logo">
					<!-- Header -->
					<h4>&nbsp;</h4>
				</div>
			</div>
		</div>

		<div class="page-wrapper">
			<div class="main">
				<div class="colleft">
					<div class="col1">
						<!-- Side menu -->
						<h4><%@ include file="staff-logout.jsp"%></h4>
						<h4><%@ include file="employee-menu.jsp"%></h4>
						<h4>&nbsp;</h4>
					</div>
					<div class="col2">
						<form action="DetailLeaveViewServlet" method="post">
							<center>
								<table>
									<tr>
										<td style="COLOR: #31c4dd; width: 96px;">Leave ID:</td>
										<td colspan="1" style="width: 74px;">${user.id}</td>
									</tr>
									<tr>
										<td style="COLOR: #31c4dd; width: 96px;">Staff Name:</td>
										<td colspan="1" style="width: 74px;">${user.staffName}</td>
									</tr>
									<tr>
										<td style="COLOR: #31c4dd; width: 96px;">From Date:</td>
										<td colspan="1" style="width: 74px;">${user.from}</td>
									</tr>
									<tr>
										<td style="COLOR: #31c4dd; width: 96px;">To Date:</td>
										<td colspan="1" style="width: 74px;">${user.to}</td>
									</tr>

									<tr>
										<td style="COLOR: #31c4dd; width: 96px;">Status:</td>
										<td colspan="1" style="width: 74px;">${user.status}</td>
									</tr>
									<tr>
										<td style="COLOR: #31c4dd; width: 96px;">Reason:</td>
										<td colspan="1" style="width: 74px;">${user.reason}</td>
									</tr>
									<tr>
										<td style="COLOR: #31c4dd; width: 96px;">LeaveNature:</td>
										<td colspan="1" style="width: 74px;">${user.leaveNature}
										</td>
									</tr>

									<tr>
										<td style="COLOR: #31c4dd; width: 96px;">
											WorkDissemination:</td>
										<td colspan="1" style="width: 74px;">
											${user.workDissemination}</td>
									</tr>
									<tr>
										<td style="COLOR: #31c4dd; width: 96px;">Contact Detail:
										</td>
										<td colspan="1" style="width: 74px;">
											${user.contactDetails}</td>
									</tr>
									<tr>
										<td style="COLOR: #31c4dd; width: 96px;">LeaveType:</td>
										<td colspan="1" style="width: 74px;">
											${user.leaveType.getType()}</td>
									</tr>
									<tr>
										<td style="COLOR: #31c4dd; width: 96px;">Apply Date:</td>
										<td colspan="1" style="width: 74px;">${user.applyDate}</td>
									</tr>
								</table>
							</center>
						</form>

						<h4>&nbsp;</h4>
					</div>
					<!-- end col2 -->

				</div>
				<!-- end colleft -->

			</div>
			<!-- end main -->

		</div>
		<!-- end page-wrapper -->

	</div>
	<!-- end page -->

</body>
</html>